package cn.huijielong.modules.group.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.math.BigDecimal;


/**
 * 
 * 
 * @author xys
 * @email xys@gmail.com
 * @date 2019-07-03 22:46:43
 */
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Long orderId;
	//
	private String orderNo;
	private String thirdOrderNo;
	//购买方用户ID
	private Long buyUserId;
	//购买方用户名
	private String buyUsername;
	//购买方用户名，缩略称呼
	private String username_s;
	//购买方用户头像
	private String buyUserHeadImg;
	//销售方用户ID
	private Long saleUserId;
	//商户ID
	private Long merchantId;
	//团购ID
	private Long groupId;
	//团购名称
	private String groupName;
	//支付总价格
	private BigDecimal payAmount;
	//
	private Date created;
	private String status;
	private String statusName;
	//
	List<OrderItemEntity> orderItemList;

	/**
	 * 设置：
	 */
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	/**
	 * 获取：
	 */
	public Long getOrderId() {
		return orderId;
	}
	/**
	 * 设置：
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	/**
	 * 获取：
	 */
	public String getOrderNo() {
		return orderNo;
	}
	/**
	 * 设置：购买方用户ID
	 */
	public void setBuyUserId(Long buyUserId) {
		this.buyUserId = buyUserId;
	}
	/**
	 * 获取：购买方用户ID
	 */
	public Long getBuyUserId() {
		return buyUserId;
	}
	/**
	 * 设置：销售方用户ID
	 */
	public void setSaleUserId(Long saleUserId) {
		this.saleUserId = saleUserId;
	}
	/**
	 * 获取：销售方用户ID
	 */
	public Long getSaleUserId() {
		return saleUserId;
	}
	/**
	 * 设置：商户ID
	 */
	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}
	/**
	 * 获取：商户ID
	 */
	public Long getMerchantId() {
		return merchantId;
	}
	/**
	 * 设置：支付总价格
	 */
	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}
	/**
	 * 获取：支付总价格
	 */
	public BigDecimal getPayAmount() {
		return payAmount;
	}
	/**
	 * 设置：
	 */
	public void setCreated(Date created) {
		this.created = created;
	}
	/**
	 * 获取：
	 */
	public Date getCreated() {
		return created;
	}
	public Long getGroupId() {
		return groupId;
	}
	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}
	public List<OrderItemEntity> getOrderItemList() {
		return orderItemList;
	}
	public void setOrderItemList(List<OrderItemEntity> orderItemList) {
		this.orderItemList = orderItemList;
	}
	public String getBuyUsername() {
		return buyUsername;
	}
	public void setBuyUsername(String buyUsername) {
		this.buyUsername = buyUsername;
	}
	public String getBuyUserHeadImg() {
		return buyUserHeadImg;
	}
	public void setBuyUserHeadImg(String buyUserHeadImg) {
		this.buyUserHeadImg = buyUserHeadImg;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	/**
	 * 购买方用户名，缩略称呼
	 * @return
	 */
	public String getUsername_s() {
		return username_s;
	}
	/**
	 * 购买方用户名，缩略称呼
	 * @param username_s
	 */
	public void setUsername_s(String username_s) {
		this.username_s = username_s;
	}
	public String getThirdOrderNo() {
		return thirdOrderNo;
	}
	public void setThirdOrderNo(String thirdOrderNo) {
		this.thirdOrderNo = thirdOrderNo;
	}
	
}
